package com.daqian.chance.lbs.dto;

import lombok.Data;

/**
 * 腾讯地图api结果对象
 * 示例结果：
 * {"title":"海淀区","location":{"lng":116.29845,"lat":39.95933},"ad_info":{"adcode":"110108"},"address_components":{"province":"北京市","city":"北京市","district":"海淀区","street":"","street_number":""},"similarity":0.8,"deviation":1000,"reliability":1,"level":2}
 */
@Data
public class TencentLocationResult {
    /**
     * 标题
     */
    private String title;
    private LocationDTO location;
    /**
     * 地址描述
     */
    private String address;
    private FormattedAddressesDTO formattedAddresses;
    private AddressComponentDTO addressComponent;
//    private ad_info ad_info;
//    private address_reference address_reference;
}
